package cn.dbqn.service;

import cn.dbqn.dao.EverydayMapper;
import cn.dbqn.entity.Everyday;
import cn.dbqn.entity.View_gsxx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EverydayService {
    @Autowired
    private EverydayMapper everydayMapper;

    //查询所有日常信息
    public List<Everyday> findAllRc(){
        return everydayMapper.findAll();
    }

    public Everyday rcxx(Integer hno){
        return everydayMapper.rcxx(hno);
    }

}
